/*  ----------------------------------------------------------------------------
 *  Arello Mobile
 *  Fast 3d Engine
 *  ----------------------------------------------------------------------------
 * Except where otherwise noted, this work is licensed under
 * http://creativecommons.org/licenses/by/3.0
 */

#include "CameraCubic.h"
#include <lib3d/Math_lib3d.h>
#include <safe_new.h>

namespace liba
{
namespace lib3d
{
namespace node
{

const Atom CameraCubic::node_name( "CameraCubic" );


CameraCubic::CameraCubic(const Atom & name, Node * parent )
:	Camera( name, parent )
{}

CameraCubic * CameraCubic::clone()
{
	return 0;//new CameraCubic(*this);
}

void CameraCubic::on_change_parameters()
{
	/** @todo calculate frustrum */
	desc.projection = Matrix::identity();
}

} // namespace node
} // namespace lib3d
} // namespace liba

